package com.pur.zsms.unusual.dao;

import java.util.List;

import com.pur.zsms.common.exception.GenericException;
import com.pur.zsms.common.support.PageController;
import com.pur.zsms.common.support.PaginationSupport;
import com.pur.zsms.unusual.po.OrderSupplierMaterUnusualPo;
import com.pur.zsms.unusual.vo.OrderSupplierMaterUnusualVo;

public interface IUnusualDao {
	public void addOrderSupplierMaterUnusualPo(OrderSupplierMaterUnusualPo c) throws GenericException;

	public PaginationSupport findUnusualOrder(PageController pageController,
	        OrderSupplierMaterUnusualVo tOrderSupplierMaterUnusualVo) throws GenericException;

	public PaginationSupport findUnusualDetailed(PageController pageController,
	        OrderSupplierMaterUnusualVo tOrderSupplierMaterUnusualVo, String oid, String supId)
	        throws GenericException;

	/**
	 * 获得异常订单实体类
	 * */
	public List<OrderSupplierMaterUnusualPo> getOrderSupplierMaterUnusualPoList(int ordId, int supId,
	        int ordMaterId) throws GenericException;

	public List<Object[]> judgeAllUnusual(int ordId, int supId) throws GenericException;
}
